#include <iostream>

using namespace std;

int main()
{
    int i = 5, j;
    cout << "In c++, i = 5" << endl;
    j = (++i) + (++i) + (++i);
    cout << "j = (++i) + (++i) + (++i)" << " = " << j << endl;
    j = (i++) + (i++) + (i++);
    cout << "j = (i++) + (i++) + (i++)" << " = " << j << endl;

    return 0;
}
